<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>上传图片页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>CSS/style.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>JS/jquery-ui-1.11.2/jquery-ui.css">
	<script type="text/javascript" src="<%=basePath%>JS/jquery-ui-1.11.2/external/jquery/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath%>JS/jquery-ui-1.11.2/jquery-ui.js"></script>
  </head>
  
  <body>
      	<div id="head-search">
   	 		<span class="home-path"></span>
   	 		<span class="path-font">学习交流管理&nbsp;&nbsp;>>&nbsp;&nbsp;图片秀&nbsp;&nbsp;>>&nbsp;&nbsp;上传图片集</span>
   		</div>
   		<div class="mainbody">
   			<div class="leftss">
   				<div class="divrow">
   					<form name="pictureform" id="pictureform" method="post" enctype="multipart/form-data" action="<%=basePath %>loadPictureAction">
   						<div class="divrow">主题：<input name="PSTheme" id="PSTheme"></div>
   						<div class="divrow">备注：<input name="PSAddition" id="PSAddition"></div>
   						<input type="file" multiple name="image">
   					</form>
   				</div>
   					<button id="savephotobtn" class="wong-button-text-ui wong-button-blue" onclick="javascript:submits()">
   						<span class="wong-ui-icon wong-icon-save"></span>
   						<span >保存</span>
   					</button>
   					
   			</div>	
   		</div>
  </body>
  <script>
  			function submits(){
  				if($("#PSTheme").val()==""){
  					alert("请输入主题！");
  					return ;
  				}
  				$("#pictureform").submit();
  			}
  </script>
</html>
